home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr49 / 302_01.zip / DUMPV.C < prev    next >
Text File  |  1993-04-09  |  767b  |  28 lines

  1. /* Dump vertex to screen
  2.  
  3.    Copyright (c) 1988 by Gus O'Donnell
  4.  
  5.    Revision history:
  6.  
  7.    Version 1.00         February 29, 1988       As released.
  8.  
  9.    Version 1.01         March 20, 1988          Created libraries for all
  10.                                                 memory models
  11.  
  12. */
  13. #include <3d.h>
  14. #include <float.h>
  15. #include <math.h>
  16. #include <stdio.h>
  17.  
  18. void    dump_vec (VERTEX this_vec)
  19.  
  20. /* Dump a vertex to the screen. */
  21.  
  22. {
  23.     printf (" %+12.5e, %+12.5e, %+12.5e, next = %06X\n",this_vec.coord [0],
  24.                                                         this_vec.coord [1],
  25.                                                         this_vec.coord [2],
  26.                                                         this_vec.next);
  27. }
  28.